<!doctype html>
<html lang="en">	
	<head>
		<meta charset="UTF-8">
		<meta name="Generator" content="EditPlus®">
		<meta name="Author" content="">
		<meta name="Keywords" content="">
		<meta name="Description" content="">
		<title>index-1</title>
		<link rel="stylesheet" href="../css/swiper-4.2.0.min.css">
		<style>
			*{margin:0;padding:0;}
			a{text-decoration:none;}
			ul,li{list-style:none;}
			body{font-size:12px;font-family:"微软雅黑";}
			.swiper-container{
				width:600px;
			}
			.swiper-slide{
				line-height:300px;
				text-align:center;
				font-size:40px;
				background:blue;
			}
			.swiper-slide:nth-child(2){
				background:pink;
			}
			.swiper-slide:nth-child(3){
				background:yellow;
			}
		</style>
	</head>
	<body>
		<!--外部容器 与类名相关 元素无关 ul div均可-->
		<div class="swiper-container">
			<div class="swiper-wrapper">
				<div class="swiper-slide">slide1</div>
				<div class="swiper-slide">slide2</div>
				<div class="swiper-slide">slide3</div>
			</div>
		</div>
		<script src="../js/swiper-4.2.0.min.js""></script>
		<script type="text/javascript">
			/*初始化  默认自适应*/  
			var myswiper = new Swiper('.swiper-container',{
				//autoplay:true,//自动轮播
				
			})
			


		</script>
		
		
	</body>
</html>
